package active.commond.concretecommond;

import active.commond.reciver.TVReciver;

public class TVOffCommond implements ICommond {

    private TVReciver tvReciver;

    public TVOffCommond(TVReciver tvReciver) {
        this.tvReciver = tvReciver;
    }

    @Override
    public void execute() {
        tvReciver.off();
    }

    @Override
    public void undo() {
        tvReciver.on();
    }
}
